package com.sxpi.chapter01.factory;

import com.sxpi.chapter01.Chair;
import com.sxpi.chapter01.Desk;

/**
 * @Author: 董伟豪
 * @Date: 2023/2/5 9:05
 */
public interface FamilyFactory {

    /**
     * 创建桌子
     * @return
     */
    Desk createDesk();

    /**
     * 创建椅子
     * @return
     */
    Chair createChair();
}
